import pylab as pl

dimensions = [[0.884372,0.872209, 0.876854,0.867932,0.882017,0.883221,0.864384,0.867764,0.878910,0.874598],
 [ 0.817452,0.807219,0.804328,0.796654,0.790167,0.800217,0.784329,0.812354,0.803425,0.819987],
 [ 0.644361,0.671923,0.657095,0.664391,0.631911,0.664017,0.651211,0.631047,0.666791,0.650291]]
dx=[1,2,3,4,5,6,7,8,9,10]

s=0
for i in range(10):
  s += dimensions[0][i]
s=s/10
ims=[]

for i in range(10):
  ims.append(s)

print "imporoved smote:"
print s

s=0
for i in range(10):
  s += dimensions[1][i]
s=s/10
trs=[]
for i in range(10):
  trs.append(s)
print "traditional smote:"
print s

s=0
for i in range(10):
  s += dimensions[2][i]
s=s/10
wis=[]
for i in range(10):
  wis.append(s)
print "without smote:"
print s


pl.xlim([0, 11])
pl.ylim([0.4, 1])
pl.plot(dx,dimensions[0],'-xr');
pl.plot(dx,dimensions[1],'-xg');
pl.plot(dx,dimensions[2],'-xb');
pl.plot(dx,ims,'--r');
pl.plot(dx,trs,'--g');
pl.plot(dx,wis,'--b');
pl.show()